package com.example.user1.domain.convert;

import com.example.user1.infra.mapper.entity.UserEntity;
import com.example.user1.infra.model.UserModel;
import com.example.user1.vo.UserInfoVo;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.MappingConstants;
import proto.user.UserOuterClass;

import java.util.List;

@Mapper(componentModel = MappingConstants.ComponentModel.SPRING)
public abstract class UserConvert extends BaseConvert<UserModel,UserEntity>{

    public abstract UserOuterClass.User toUser(UserModel infoVo);
}
